function y = computeJ(element)
if strcmp(element.mode,'constant')
    y = [element.normal element.tangent];
elseif strcmp(element.mode,'linear');
end

end
